﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Yuekao.Domain.Entitys
{
    public class AuditModel
    {
        [Key]
        public long Id { get; set; }
        /// <summary>
        /// 工作id
        /// </summary>
        public string WorkflowId { get; set; }
        /// <summary>
        /// 步骤ID
        /// </summary>
        public string StepId { get; set; }
        /// <summary>
        /// 步骤名称
        /// </summary>
        public string StepName { get; set; }
        /// <summary>
        /// 当前审批人ID
        /// </summary>
        public long AuditId { get; set; }
        /// <summary>
        /// 当前审批人名称
        /// </summary>
        public string AuditName { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public bool State {  get; set; }
        /// <summary>
        /// 审批时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 审批意见
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 审批类型
        /// </summary>
        public string? AuditType { get; set; }
    }
}
